package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.OrderDeliveryDetail;
import com.zshan.clinic.database.model.OrderDeliveryDetailExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderDeliveryDetailMapper extends SuperMapper {
    long countByExample(OrderDeliveryDetailExample example);

    int deleteByExample(OrderDeliveryDetailExample example);

    int deleteByPrimaryKey(Long detailId);

    int insert(OrderDeliveryDetail row);

    int insertSelective(OrderDeliveryDetail row);

    List<OrderDeliveryDetail> selectByExample(OrderDeliveryDetailExample example);

    OrderDeliveryDetail selectByPrimaryKey(Long detailId);

    int updateByExampleSelective(@Param("row") OrderDeliveryDetail row, @Param("example") OrderDeliveryDetailExample example);

    int updateByExample(@Param("row") OrderDeliveryDetail row, @Param("example") OrderDeliveryDetailExample example);

    int updateByPrimaryKeySelective(OrderDeliveryDetail row);

    int updateByPrimaryKey(OrderDeliveryDetail row);
}